package jdbc;

import java.sql.Connection;
import java.sql.DriverManager;

public class MysqlUtil {
    public static Connection gitConnection() throws Exception {
        Class.forName("com.mysql.cj.jdbc.Driver");
        Connection connection = DriverManager.getConnection("jdbc:mysql:///student", "root", "123456");
        return connection;
    }
}
